package arch.dao.impl.archive;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import arch.domain.archive.Template;

public class UsedTemplateMapper implements RowMapper {

	public Object mapRow(ResultSet arg0, int arg1) throws SQLException {
		Template temp = new Template();
		temp.setId(arg0.getInt("id"));
		return temp;
	}

}
